package com.zhoukai.service;

import com.zhoukai.domain.OperLog;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhoukai.dto.OperLogDto;
import com.zhoukai.vo.DataGridView;

/**
 * @Description TODO
 * @Author Mr.ZHOU
 * @Date Created in 2022/1/4 16:58
 */

public interface OperLogService extends IService<OperLog>{
        /**
         * 插入操作日志
         * @param operLog
         */
        void insertOperLog(OperLog operLog);

        /**
         * 分页查询操作日志
         * @param operLogDto
         * @return
         */
        DataGridView listForPage(OperLogDto operLogDto);

        /**
         * 根据ID删除操作日志
         * @param infoIds
         * @return
         */
        int deleteOperLogByIds(Long[] infoIds);

        /**
         * 清空操作日志
         * @return
         */
        int clearAllOperLog();


    }
